<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNNKit: com.alibaba.android.mnnkit.entity.FaceDetectionReport Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="mnn.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNNKit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">MNNKit is a collection of AI solutions on mobile phone, powered by MNN engine.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba.html">alibaba</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba_1_1android.html">android</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba_1_1android_1_1mnnkit.html">mnnkit</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba_1_1android_1_1mnnkit_1_1entity.html">entity</a></li><li class="navelem"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html">FaceDetectionReport</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">com.alibaba.android.mnnkit.entity.FaceDetectionReport Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>face detect result  
 <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab68d2ac75e7afa72c364758b3ac095a5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#ab68d2ac75e7afa72c364758b3ac095a5">FaceDetectionReport</a> (int[] intOuts, float[] floatOuts, long faceaction)</td></tr>
<tr class="separator:ab68d2ac75e7afa72c364758b3ac095a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a68cd4ced6efb9ae0ae5ce253707239eb"><td class="memItemLeft" align="right" valign="top">final Rect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a68cd4ced6efb9ae0ae5ce253707239eb">rect</a></td></tr>
<tr class="separator:a68cd4ced6efb9ae0ae5ce253707239eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad291f2caf59ab925207c5ab81ca51053"><td class="memItemLeft" align="right" valign="top">final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#ad291f2caf59ab925207c5ab81ca51053">faceID</a></td></tr>
<tr class="memdesc:ad291f2caf59ab925207c5ab81ca51053"><td class="mdescLeft">&#160;</td><td class="mdescRight">face rect area  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#ad291f2caf59ab925207c5ab81ca51053">More...</a><br /></td></tr>
<tr class="separator:ad291f2caf59ab925207c5ab81ca51053"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adae7516479ae20afa0de10cf79477739"><td class="memItemLeft" align="right" valign="top">final float[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#adae7516479ae20afa0de10cf79477739">keyPoints</a></td></tr>
<tr class="memdesc:adae7516479ae20afa0de10cf79477739"><td class="mdescLeft">&#160;</td><td class="mdescRight">face unique identification, new faceId will be generated if face track is lossed but detected successfully again  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#adae7516479ae20afa0de10cf79477739">More...</a><br /></td></tr>
<tr class="separator:adae7516479ae20afa0de10cf79477739"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83c11947b0ebca8608de9b624606718b"><td class="memItemLeft" align="right" valign="top">final float[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a83c11947b0ebca8608de9b624606718b">visibilities</a></td></tr>
<tr class="memdesc:a83c11947b0ebca8608de9b624606718b"><td class="mdescLeft">&#160;</td><td class="mdescRight">face 106 feature points: (X1, Y1), (X2, Y2)....  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a83c11947b0ebca8608de9b624606718b">More...</a><br /></td></tr>
<tr class="separator:a83c11947b0ebca8608de9b624606718b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7625e01cd3249c962744434ed2aa3516"><td class="memItemLeft" align="right" valign="top">final float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a7625e01cd3249c962744434ed2aa3516">score</a></td></tr>
<tr class="memdesc:a7625e01cd3249c962744434ed2aa3516"><td class="mdescLeft">&#160;</td><td class="mdescRight">visibility of feature points, 1.0 if visible, 0.0 if invisible  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a7625e01cd3249c962744434ed2aa3516">More...</a><br /></td></tr>
<tr class="separator:a7625e01cd3249c962744434ed2aa3516"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8520dee3a4cebdf1c4919540cfb3aa0e"><td class="memItemLeft" align="right" valign="top">final float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a8520dee3a4cebdf1c4919540cfb3aa0e">yaw</a></td></tr>
<tr class="memdesc:a8520dee3a4cebdf1c4919540cfb3aa0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">face confidence  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a8520dee3a4cebdf1c4919540cfb3aa0e">More...</a><br /></td></tr>
<tr class="separator:a8520dee3a4cebdf1c4919540cfb3aa0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4c8506fac3f44aa8337801777c2ea17"><td class="memItemLeft" align="right" valign="top">final float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#ac4c8506fac3f44aa8337801777c2ea17">pitch</a></td></tr>
<tr class="memdesc:ac4c8506fac3f44aa8337801777c2ea17"><td class="mdescLeft">&#160;</td><td class="mdescRight">yaw angle, left -, right +  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#ac4c8506fac3f44aa8337801777c2ea17">More...</a><br /></td></tr>
<tr class="separator:ac4c8506fac3f44aa8337801777c2ea17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5efaa3416d2e04b9c2be44188cc1967e"><td class="memItemLeft" align="right" valign="top">final float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a5efaa3416d2e04b9c2be44188cc1967e">roll</a></td></tr>
<tr class="memdesc:a5efaa3416d2e04b9c2be44188cc1967e"><td class="mdescLeft">&#160;</td><td class="mdescRight">pitch angle, up -, down +  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a5efaa3416d2e04b9c2be44188cc1967e">More...</a><br /></td></tr>
<tr class="separator:a5efaa3416d2e04b9c2be44188cc1967e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80923eb51724a8afbf6ae7f9f9149822"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a80923eb51724a8afbf6ae7f9f9149822">faceAction</a></td></tr>
<tr class="memdesc:a80923eb51724a8afbf6ae7f9f9149822"><td class="mdescLeft">&#160;</td><td class="mdescRight">roll angle, left -, right +  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a80923eb51724a8afbf6ae7f9f9149822">More...</a><br /></td></tr>
<tr class="separator:a80923eb51724a8afbf6ae7f9f9149822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a244b26a0ca3b9aa57cf0f66e6655a0e8"><td class="memItemLeft" align="right" valign="top">Map&lt; String, Boolean &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a244b26a0ca3b9aa57cf0f66e6655a0e8">faceActionMap</a></td></tr>
<tr class="memdesc:a244b26a0ca3b9aa57cf0f66e6655a0e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">face action map. Exp: {"EyeBlink":false, "MouthAh":true, "HeadYaw":false}  <a href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a244b26a0ca3b9aa57cf0f66e6655a0e8">More...</a><br /></td></tr>
<tr class="separator:a244b26a0ca3b9aa57cf0f66e6655a0e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:af6eb819014d4632ffb2f57ce358309b5"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#af6eb819014d4632ffb2f57ce358309b5">NATIVE_INT_OUT_LENGTH</a> = 5</td></tr>
<tr class="separator:af6eb819014d4632ffb2f57ce358309b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234676407a9b5654a6ffc0599d07824a"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1entity_1_1_face_detection_report.html#a234676407a9b5654a6ffc0599d07824a">NATIVE_FLOAT_OUT_LENGTH</a> = 322</td></tr>
<tr class="separator:a234676407a9b5654a6ffc0599d07824a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>face detect result </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab68d2ac75e7afa72c364758b3ac095a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab68d2ac75e7afa72c364758b3ac095a5">&#9670;&nbsp;</a></span>FaceDetectionReport()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.alibaba.android.mnnkit.entity.FaceDetectionReport.FaceDetectionReport </td>
          <td>(</td>
          <td class="paramtype">int[]&#160;</td>
          <td class="paramname"><em>intOuts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float[]&#160;</td>
          <td class="paramname"><em>floatOuts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>faceaction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a80923eb51724a8afbf6ae7f9f9149822"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80923eb51724a8afbf6ae7f9f9149822">&#9670;&nbsp;</a></span>faceAction</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long com.alibaba.android.mnnkit.entity.FaceDetectionReport.faceAction</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>roll angle, left -, right + </p>

</div>
</div>
<a id="a244b26a0ca3b9aa57cf0f66e6655a0e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a244b26a0ca3b9aa57cf0f66e6655a0e8">&#9670;&nbsp;</a></span>faceActionMap</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Map&lt;String, Boolean&gt; com.alibaba.android.mnnkit.entity.FaceDetectionReport.faceActionMap</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>face action map. Exp: {"EyeBlink":false, "MouthAh":true, "HeadYaw":false} </p>

</div>
</div>
<a id="ad291f2caf59ab925207c5ab81ca51053"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad291f2caf59ab925207c5ab81ca51053">&#9670;&nbsp;</a></span>faceID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final int com.alibaba.android.mnnkit.entity.FaceDetectionReport.faceID</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>face rect area </p>

</div>
</div>
<a id="adae7516479ae20afa0de10cf79477739"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adae7516479ae20afa0de10cf79477739">&#9670;&nbsp;</a></span>keyPoints</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final float [] com.alibaba.android.mnnkit.entity.FaceDetectionReport.keyPoints</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>face unique identification, new faceId will be generated if face track is lossed but detected successfully again </p>

</div>
</div>
<a id="a234676407a9b5654a6ffc0599d07824a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a234676407a9b5654a6ffc0599d07824a">&#9670;&nbsp;</a></span>NATIVE_FLOAT_OUT_LENGTH</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.alibaba.android.mnnkit.entity.FaceDetectionReport.NATIVE_FLOAT_OUT_LENGTH = 322</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af6eb819014d4632ffb2f57ce358309b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6eb819014d4632ffb2f57ce358309b5">&#9670;&nbsp;</a></span>NATIVE_INT_OUT_LENGTH</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.alibaba.android.mnnkit.entity.FaceDetectionReport.NATIVE_INT_OUT_LENGTH = 5</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac4c8506fac3f44aa8337801777c2ea17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4c8506fac3f44aa8337801777c2ea17">&#9670;&nbsp;</a></span>pitch</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final float com.alibaba.android.mnnkit.entity.FaceDetectionReport.pitch</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>yaw angle, left -, right + </p>

</div>
</div>
<a id="a68cd4ced6efb9ae0ae5ce253707239eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68cd4ced6efb9ae0ae5ce253707239eb">&#9670;&nbsp;</a></span>rect</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final Rect com.alibaba.android.mnnkit.entity.FaceDetectionReport.rect</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5efaa3416d2e04b9c2be44188cc1967e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5efaa3416d2e04b9c2be44188cc1967e">&#9670;&nbsp;</a></span>roll</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final float com.alibaba.android.mnnkit.entity.FaceDetectionReport.roll</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pitch angle, up -, down + </p>

</div>
</div>
<a id="a7625e01cd3249c962744434ed2aa3516"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7625e01cd3249c962744434ed2aa3516">&#9670;&nbsp;</a></span>score</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final float com.alibaba.android.mnnkit.entity.FaceDetectionReport.score</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>visibility of feature points, 1.0 if visible, 0.0 if invisible </p>

</div>
</div>
<a id="a83c11947b0ebca8608de9b624606718b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83c11947b0ebca8608de9b624606718b">&#9670;&nbsp;</a></span>visibilities</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final float [] com.alibaba.android.mnnkit.entity.FaceDetectionReport.visibilities</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>face 106 feature points: (X1, Y1), (X2, Y2).... </p>

</div>
</div>
<a id="a8520dee3a4cebdf1c4919540cfb3aa0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8520dee3a4cebdf1c4919540cfb3aa0e">&#9670;&nbsp;</a></span>yaw</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">final float com.alibaba.android.mnnkit.entity.FaceDetectionReport.yaw</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>face confidence </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>MNNFaceDetection/android/src/main/java/com/alibaba/android/mnnkit/entity/<a class="el" href="_face_detection_report_8java.html">FaceDetectionReport.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
